<!-- BEGIN PAGE HEADER-->
<iframe id="bpm-design" src="{{modelPath}}" frameborder="0"
        style="margin: -25px -20px -10px -20px;"></iframe>
<!-- END MAIN CONTENT -->

<script>
    var iframe = $('#bpm-design');
    iframe.width($('.page-content').width() + 40);
    iframe.height($('.page-content-wrapper').height() - 5);

    window.onresize = function () {
        iframe.width($('.page-content').width() + 40);
        iframe.height($('.page-content-wrapper').height() - 5);
    }
</script>